package cn.xfdzx.android.apps.shop.bean;

/**
 * @author azheng
 * @date 2020/6/27.
 * Description：登陆
 */
public class LogininfoBean  {


    /**
     * status : 200
     * data : {"cache_key":"6bdf06a0fd8bbf4c10b28daf08992112","expires_time":1593323529,"token":"ODZiNWU3NTdiN2UwZGE0OTQ5YTgyMjQ0Mzc1NGEzOWQ=","userInfo":{"mobile":"15964986297","nickname":"掌鲜","avatar":null,"is_store":0,"created_at":"2020-06-10 10:51:12"}}
     * msg : 登录成功
     */

    private int status;
    private DataBean data;
    private String msg;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean {
        /**
         * cache_key : 6bdf06a0fd8bbf4c10b28daf08992112
         * expires_time : 1593323529
         * token : ODZiNWU3NTdiN2UwZGE0OTQ5YTgyMjQ0Mzc1NGEzOWQ=
         * userInfo : {"mobile":"15964986297","nickname":"掌鲜","avatar":null,"is_store":0,"created_at":"2020-06-10 10:51:12"}
         * "hash":"3fc7ab24b8f211eaa8a000163e2c058b","is_login":false
         *
         * sdk_appid;//应用id
         * chat_id; //群组id
         * usersig; //验签
         * identifier;//管理员name
         * uid;IMaccount
         * uid_usersig
         */

        private String hash;
        private boolean is_login;
        private String cache_key;
        private int expires_time;
        private String token;
        private UserInfoBean userInfo;

        private String sdk_appid;
        private String chat_id;
        private String usersig;
        private String identifier;
        private String uid;
        private LiveUsersigBean live_usersig;

        public LiveUsersigBean getLiveUsersigBean() {
            return live_usersig;
        }

        public void setLiveUsersigBean(LiveUsersigBean liveUsersigBean) {
            this.live_usersig = liveUsersigBean;
        }

        public static class LiveUsersigBean {
            /**
             * uid : 4297
             * usersig : eJyrVgrxCdYrSy1SslIy0jNQ0gHzM1NS80oy0zLBwiZGluZQ8eKU7MSCgswUJStDEwMDYxMLE3NDiExqRUFmUSpQ3NTU1MjAwAAiWpKZCxazNDazNDe3MIWakpkONDY7x9-f3TnJvzywxN-Fzzwl2Tsx1LEkw9HHy8LNICM5KSBGvyA0zM8nRt*rMtBWqRYA47swtQ__
             */

            private String uid;
            private String usersig;

            public String getUid() {
                return uid;
            }

            public void setUid(String uid) {
                this.uid = uid;
            }

            public String getUsersig() {
                return usersig;
            }

            public void setUsersig(String usersig) {
                this.usersig = usersig;
            }
        }

        public String getSdk_appid() {
            return sdk_appid;
        }

        public void setSdk_appid(String sdk_appid) {
            this.sdk_appid = sdk_appid;
        }

        public String getChat_id() {
            return chat_id;
        }

        public void setChat_id(String chat_id) {
            this.chat_id = chat_id;
        }

        public String getUsersig() {
            return usersig;
        }

        public void setUsersig(String usersig) {
            this.usersig = usersig;
        }

        public String getIdentifier() {
            return identifier;
        }

        public void setIdentifier(String identifier) {
            this.identifier = identifier;
        }

        public String getUid() {
            return uid;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public String getCache_key() {
            return cache_key;
        }

        public void setCache_key(String cache_key) {
            this.cache_key = cache_key;
        }

        public int getExpires_time() {
            return expires_time;
        }

        public void setExpires_time(int expires_time) {
            this.expires_time = expires_time;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public UserInfoBean getUserInfo() {
            return userInfo;
        }

        public void setUserInfo(UserInfoBean userInfo) {
            this.userInfo = userInfo;
        }

        public String getHash() {
            return hash;
        }

        public void setHash(String hash) {
            this.hash = hash;
        }

        public boolean isIs_login() {
            return is_login;
        }

        public void setIs_login(boolean is_login) {
            this.is_login = is_login;
        }

        public static class UserInfoBean {
            /**
             * mobile : 15964986297
             * nickname : 掌鲜
             * avatar : null
             * is_store : 0
             * created_at : 2020-06-10 10:51:12
             */

            private String mobile;
            private String nickname;
            private Object avatar;
            private int is_store;
            private String created_at;

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public Object getAvatar() {
                return avatar;
            }

            public void setAvatar(Object avatar) {
                this.avatar = avatar;
            }

            public int getIs_store() {
                return is_store;
            }

            public void setIs_store(int is_store) {
                this.is_store = is_store;
            }

            public String getCreated_at() {
                return created_at;
            }

            public void setCreated_at(String created_at) {
                this.created_at = created_at;
            }
        }
    }

}
